﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Service {

    [ServiceContract]
    public interface ISvnService {

        [OperationContract]
        string Svn_List(string address, string username, string password);

        [OperationContract]
        bool Svn_Commit(string from_where);

        [OperationContract]
        bool Svn_Checkout(string address_from, string address_where, string username, string password);

        [OperationContract]
        string Svn_LoadFile(string svn_file_address, string username, string password);

        [OperationContract]
        bool Svn_SaveFile(string svn_file_address, string username, string password, string filetext);

    }
}
